/**
 * 
 */
package com.nqc.perodictable.device;

import android.app.Activity;
import android.view.Display;

/**
 * @author nguyenquocchinh
 *
 */
public class Device {

	public static int[] getScreenSize(Activity activity){
		int[] screen = new int[2];
		Display display = activity.getWindowManager().getDefaultDisplay();
		screen[0] = display.getWidth();
		screen[1] = display.getHeight();
		
		
		return screen;
	}
}
